<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<script src="../../libs/jquery.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../libs/bootstrap.min.js"></script>
<script src="../../libs/vue.min.js"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
<script src="../../js/common.js"></script>
</head>
<style type="text/css">
	.col-sm-10.pror {
		float: left;
		width: 15%;
		padding-left: -130px;
		margin-left: -20px;
	}
	.col-sm-2.control-label.prol {
		width: 10%;
		padding-top: 5px;
	}
</style>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">

			<div class="form-group">
				<div class="col-sm-2 control-label prol">材料名称</div>
				<div class="col-sm-10 pror">
					<input type="text" id="name" class="form-control" v-model="q.name" placeholder="名称"/>
				</div>
			</div>

			<div class="form-group">
				<div class="col-sm-2 control-label prol">材料大类</div>
				<div class="col-sm-10 pror">
					<!--<input type="text" class="form-control" v-model="q.mBigtype" placeholder="材料大类"/>-->
					<select id="mBigtype" class="form-control" onchange="chooseBigtype()">
						<option value="">全部</option>
					</select>
				</div>
			</div>

			<div class="form-group">
				<div class="col-sm-2 control-label prol">材料中类</div>
				<div class="col-sm-10 pror">
					<!--<input type="text" class="form-control" v-model="q.mMidtype" placeholder="材料中类"/>-->
					<select id="mMidtype" class="form-control">
						<option value="">全部</option>
					</select>
				</div>
			</div>

			<a class="btn btn-default" @click="reload">查询</a>
			<span class="sp"></span>
			<a class="btn btn-primary" onclick="saveMaterialToMid()"><i class="fa fa-floppy-o"></i>&nbsp;保存</a>

		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>

</div>

<script src="../../js/modules/bss/dmaterialmodelChoose.js"></script>
</body>
</html>